package com.mindainfo.groundwave.server.equipment.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by MD-01 on 2017/7/4.
 * 中继实体类
 */
@TableName("dev_relay_info")
@Data
public class RelayInfo extends Model<RelayInfo>{

    private Integer id;         //自增主键
    private String deviceId;    //设备出厂编号
    private String vendor;      //厂商
    private String version;     //版本
    private Date makerTime;     //生产日期
    private Date createTime;    //信息录入时间
    private Integer deptId;     //组织编号
    private Integer useState;   //设备使用状态(0:未安装,1:已使用,2:已废弃)
    private String sysNum;      //系统编号

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
